//
//  ECManager_Pay.h
//  Edu_iOS2018
//
//  Created by yanyan on 2018/1/29.
//  Copyright © 2018年 yanyan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CYBlock.h"
#import "WXApiObject.h"
#import "WXApi.h"
#define kNotifactionAlipayPaySuccess @"AlipaySuccess"
#define kNotifactionAlipayPayFail @"AlipayFailure"
@interface ECManager_Pay : NSObject <WXApiDelegate>
+ (instancetype)sharedInstance;
- (void)payOrder:(id)order finished:(void (^)(id json))finished;
- (void)payAliOrder:(id)order finished:(void (^)(id json))finished;

@property (nonatomic,strong) CYBlock_Object block_paySuccess;//支付成功回调

@end
